package com.tian.dto.management.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * {@code @description:} TODO
 *
 * @author tianwc 公众号：Java后端技术全栈
 * 在线刷题 1200+java面试题和1000+篇技术文章：<a href="https://woaijava.cc/">博客地址</a>
 * {@code @date:} 2024-07-28 15:57
 * {@code @version:} 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "用户信息查询条件")
public class UserInfoReqDto {
    @NotBlank(message = "姓名不能为空")
    @ApiModelProperty(value = "姓名")
    private String userName;

    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String password;

    private int pageNum = 1;
    private int pageSize = 10;
}
